package com.gzz.orchid.context.domain.business.entity;

import com.gzz.orchid.common.core.tuple.Money;
import com.gzz.orchid.common.core.tuple.OrderNo;
import com.gzz.orchid.common.core.tuple.Receiver;
import com.gzz.orchid.context.infrastructure.definition.Status;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Set;

/**
 * 交易订单
 *
 * @author higmd
 */
@Data
public class TradeOrderDo {
    /**
     * 订单编号
     */
    private OrderNo no;
    /**
     * 订单时间
     */
    private LocalDateTime timeAt;
    /**
     * 订单金额
     */
    private Money amount;
    /**
     * 订单状态
     */
    private Status status;
    /**
     * 订单备注
     */
    private String memo;
    /**
     * 订单明细
     */
    private Set<DetailItem> items;
    /**
     * 客户信息
     */
    private CustomerInfo customerInfo;
    /**
     * 物流信息
     */
    private ExpressInfo expressInfo;
    /**
     * 收货人信息
     */
    private Receiver receiver;


}
